package com.rhyton.component.upload.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.rhyton.component.upload.domain.AttactFile;

public interface AttactFileManager {
    AttactFile getAttachFile(Long fileId);

    void upload(AttactFile af) throws DataAccessException;

    void delete(Long fileId) throws DataAccessException;

    void delete(List<Long> ids) throws DataAccessException;
    
    List<AttactFile> queryAttactFiles(AttactFile attactFile)throws DataAccessException;
}
